package com.daidai.domain;

public class User {
    private int id;
    private String username;
    private String password;

    @Override
    public String toString() {
        return "id:" + this.id + " "
                + "username:" + this.username + " "
                + "password:" + this.password;
    }

    public User() {
    }

    public User(int id, String name, String password) {
        this.id = id;
        this.username = name;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return username;
    }

    public void setName(String name) {
        this.username = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }



}
